package com.mine.test.service;

import com.mine.test.model.User;
import org.springframework.stereotype.Service;

/**
 * Project Name is testql.
 * User: wwq
 * Date: 2017/6/2
 * Time: 下午12:42
 */
@Service
public class UserServiceImpl implements IUserService{

    public User findById(Long id){
        User user=new User();
        user.setAge(1);
        user.setUserName("wwq");
        return user;
    }
    public void update(User u){
        System.out.println(u.getId()+" User Already Update!");
    }
}
